<template>
	<navbar title="常见问题详情" :isBack="true"></navbar>
	<view class="" style="margin-top: 58rpx;padding:0 30rpx;width: 100%;">
		<view class="">
			1.{{Info.title}}
		</view>
		<view class="" style="margin-top: 30rpx;" v-html="Info.content">
			 
		</view>
	</view>
</template>

<script setup lang="ts">
	import {
		onLoad,
		onShareAppMessage,
		onShareTimeline,
		onReachBottom
	} from '@dcloudio/uni-app'
	import {
		reactive,
		ref
	} from 'vue'
	import { helpInfo } from '@/service/api/index'
	import tools from '@/utils/tools'
	const id = ref('')
	const Info = ref({}) as any
	onLoad((opt) => {
		id.value = opt.id;
		getData()
	})
	const getData = async () => {
	const res = await helpInfo({id:id.value});
		Info.value = res.msg;
	}
</script>

<style scoped lang="scss">
</style>